<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

    class MY_Form_validation extends CI_Form_validation {

        function __construct()
        {
            parent::__construct();
        }

        function dropdown_check($str)
        {
            echo 'it calls';
            if ($str == '0')
            {
                $this->form_validation->set_message('dropdown_check', 'Please choose object <b>%s</b>!');
                return FALSE;
            }
            else
            {
                return TRUE;
            }
        }

}